package com.hkts.management.model.TO;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ClassNameHontUserTo
 * @Description 前台用户to
 * @Author yck
 * @Date2020-12-07 15:39
 * @Version V1.0
 **/
@Data
public class HontUserTo {

    private String id;

    private String userName;


    private String password;


    private String status;
    //昵称

    private String nickName;


    private String mobile;

    private String email;
    //地址

    private String address;

    private String street;


    private String sex;

    private String passStrength;

    private Integer userLevel;


    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private String description;

    private Integer approve;
    private String avatar;

    private Integer type;

    private String departmentTitle;

    private String departmentCopyTitle;

    private String postTile;

    private String postId;

    private String departmentId;

    private String openId;

    private String companyId;
}
